<?php
session_start();
include ("secure/connect.php");
include ("objects/statistics.php");
include ("objects/earnings.php");
include ("objects/users.php");
include ("objects/mysql.php");
include ("objects/files.php");
include ("objects/settings.php");
include ("objects/admin.php");
include ("objects/paging.php");
include ("objects/cms.php");

function clean($var)
{
	if(is_array($var))
	{
		$var_temp = array();
		foreach($var as $k=>$v)
		{
			if(is_array($v))
			{
				$var_temp[$k] =$v;	
				continue;
			}
			$var_temp[$k] = addslashes(trim($v));	
		}
		return($var_temp);
	}
	else
		return addslashes(trim($var));	

}
?>